<%--
  Created by IntelliJ IDEA.
  User: tangyunyuan
  Date: 2021/4/12
  Time: 20:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<script src="./jsgol/jQuery.js"></script>

<head>
    <title>员工添加</title>
</head>

<body>

<%@include file="Canvas.jsp" %>
<div style="width:800px;height: 700px;border: gray solid 1px;margin:0 auto;background: beige;margin-top: 7%;">
    <%@include file="header.jsp" %>
    <div class="botton" style="width:100%;height:430px;border: red solid 1px;margin: 0px auto;position: relative;">
    <form action="<%= request.getContextPath()%>/staffserver?code=add" method="post">
            <table id="Add" border="1" style="width: 90%;height: 200px;margin: 10px auto">
                <tr>
                    <td style="background-color: darksalmon">编号</td>
                    <td><input type="text" name="id"></td>
                    <td style="background-color: darksalmon" >姓名</td>
                    <td><input type="text" name="name"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >年龄</td>
                    <td><input type="text" name="age"></td>
                    <td style="background-color: darksalmon" >性别</td>
                    <td>
                        <input type="radio"checked="checked" name="sex" value="1"/>男
                        <input type="radio"name="sex" value="2"/>女
                    </td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >出生日期</td>
                    <td><input type="text" name="birth"></td>
                    <td style="background-color: darksalmon" >身份证号</td>
                    <td><input type="text" name="code"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >民族</td>
                    <td><input type="text" name="nation"></td>
                    <td style="background-color: darksalmon" >婚姻状况</td>
                    <td>
                        <input type="radio"checked="checked" name="marital" value="1"/>未婚
                        <input type="radio"name="marital" value="2"/>已婚
                    </td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >政治面貌</td>
                    <td>
                        <input type="radio" checked="checked" name="political" value="2"/>党员
                        <input type="radio" name="political" value="1"/>团员
                        <input type="radio" name="political" value="0"/>无
                    </td>
                    <td style="background-color: darksalmon" >籍贯</td>
                    <td><input type="text" name="native"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >联系电话</td>
                    <td><input type="text" name="phone"></td>
                    <td style="background-color: darksalmon" >家庭住址</td>
                    <td><input type="text" name="home"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >毕业学校</td>
                    <td><input type="text" name="shool"></td>
                    <td style="background-color: darksalmon" >专业</td>
                    <td><input type="text" name="major"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >文化程度</td>
                    <td>
                        <select name="education">
                            <option name="education" value="1">本科生</option>
                            <option  name="education" value="2">研究生</option>
                        </select>
                    </td>
                    <td style="background-color: darksalmon" >上岗时间</td>
                    <td><input type="text" name="time"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >部门名称</td>
                    <td>
                        <select name="department_id">
                            <option value="Java WEB">Java WEB</option>
                            <option value="ASP net">ASP net</option>
                            <option value="C#">C#</option>
                            <option value="VC">VC</option>
                            <option value="VB">VB</option>
                            <option value="ASP">ASP</option>
                            <option value="PHP">PHP</option>
                            <option value="基础部">基础部</option>
                            <option value="人力资源">人力资源</option>
                            <option value="C#部门">C#部门</option>
                            <option value="oracle">oracle</option>
                        </select>
                    </td>
                    <td style="background-color: darksalmon" >部门工种</td>
                    <td>
                        <select name="work_id">
                            <option value="work">程序员</option>
                            <option value="work">工程师</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >登记人名</td>
                    <td><input type="text" name="persons"></td>
                    <td style="background-color: darksalmon" >登记时间</td>
                    <td><input type="text" name="duty"></td>
                </tr>
                <tr>
                    <td style="background-color: darksalmon" >备注信息</td>
                    <td colspan="3"><textarea name="remarks"style="height: 90px;width: 535px"></textarea></td>
                </tr>
            </table>
            <div style="position: absolute;right: 245px;top: 390px;">
                <button type="submit" >保存</button>
                <button type="reset" class="button"style="margin: 0px 35px auto;">重置</button>
                <button type="button" onclick="location.href= '<%= request.getContextPath()%>/StaffManagement.jsp'">返回</button>
            </div>
            <div style="position: absolute;bottom: -50px;">
                <img src="idemge/down.jpg" alt="">
            </div>

        </form>
    </div>

</div>
</body>
<script type="text/javascript" src="jsgol/protect.js"></script>
<script>
    $('#navMore').html('> 员工添加');

</script>

<style>

    .botton {
        background: url(idemge/6.png) no-repeat;
        background-size:100% 100%;
    }
</style>

</html>
